# The Flutter tooling requires that developers have CMake 3.10 or later
# installed. You should not increase this version, as doing so will cause
# the plugin to fail to compile for some customers of the plugin.
cmake_minimum_required(VERSION 3.10)

project(x_custom_widget_library VERSION 0.0.1 LANGUAGES C)

add_library(x_custom_widget SHARED
  "x_custom_widget.c"
)

set_target_properties(x_custom_widget PROPERTIES
  PUBLIC_HEADER x_custom_widget.h
  OUTPUT_NAME "x_custom_widget"
)

target_compile_definitions(x_custom_widget PUBLIC DART_SHARED_LIB)
